<template>
	<view class="contents">
		<view class="listbox">
			<view class="lists" v-for="(item, index) in 20">
				<view class="line">
					<image class="goodname " mode="widthFix"
						src="https://img1.baidu.com/it/u=3572707476,2215453850&fm=253&fmt=auto&app=120&f=JPEG?w=800&h=1066">
					</image>
					<view class="rights">
						<view class="righttop">
							<text class="text1">¥</text>
							<text class="text2">200.00</text>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			current: 0,

		}
	},
	components: {
	},
	methods: {
		changeTab(index) {
			console.log('当前选中的项：' + index)
		}
	}
}
</script>

<style scoped>
.contents {
	min-height: 00vh;
	overflow: hidden;
	background: #fafafa;
	padding-bottom: 50rpx;
}

.thename {
	float: left;
	width: 51%;
	margin-left: 20upx;
}

.rights {
	float: right;
	position: absolute;
	bottom: 0;
	width: 100%;
	left: 0;
	z-index: 10;
}

.righttop {
	justify-content: center;
	justify-items: center;
	width: 100%;
	display: flex;
	background: rgba(0, 0, 0, 0.5);
	border-bottom-left-radius: 18rpx;
	border-bottom-right-radius: 18rpx;
	line-height: 48rpx;
}

.righttop .text1 {
	font-size: 20upx;
	font-weight: bold;
	color: white;
	transform: translateY(3rpx);
}

.righttop .text2 {
	font-size: 30upx;
	font-weight: bold;
	color: white;
	margin-left: 3rpx;
}

.line {
	box-sizing: border-box;
	margin-top: 10rpx;
	position: relative;
}

.goodname {
	display: block;
	width: 100%;
	border-radius: 10upx;
}

.tops {
	overflow: hidden;
	padding: 0 20upx;
	height: 80upx;
}

.tops .username {
	float: left;
	font-size: 30upx;
}

.tops .status {
	float: right;
	color: white;
	font-size: 24rpx;
	padding: 6rpx 13rpx;
	border-radius: 10rpx;
}

.yellow {
	background: rgb(208, 182, 0);
	color: white;
}

.red {
	color: rgb(0, 188, 0);
	background: rgb(188, 0, 0);
}

.lv {
	color: white;
	background: rgb(0 140 0);
}

.headerimg {
	width: 50rpx;
	height: 50rpx;
	margin-right: 15upx;
	float: left;
	border-radius: 50%;
}

.cuicenter {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.listbox {
	padding: 0 20upx;
	box-sizing: border-box;
}

.lists {
	width: 33.3%;
	float: left;
	/* padding: 17rpx; */
	box-sizing: border-box;
	border-radius: 18rpx;
	position: relative;
	padding: 13rpx;
	box-sizing: border-box;
}

.line {
	background: white;

}
</style>
